import request from '@/utils/request'
// 查看所有未发送的事项的接口
export function getnosendList(data) {
    return request({
        url:'/bpm/get/task/middle/list',
        method:'get',
        params:data
    })
}

// 新增事项的接口
export function addtaskList(data) {
    return request({
        url:'/bpm/save/task/middle',
        method:"post",
        data
    })
}

//查看后填写点击保存的接口
export function saveInfo(data) {
    return request({
       url:'/bpm/save/project',
       method:'post',
       data
    })
}


//点击提交的接口
export function submit(data) {
    return request({
        url:'/bpm/sending/process',
        method:'post',
        data
    })
}